package com.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.baomidou.mybatisplus.service.IService;
import com.entity.Brand;
import com.entity.view.BrandView;
import com.entity.vo.BrandVO;
import com.utils.PageUtils;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BrandService extends IService<Brand> {
    PageUtils queryPage(Map<String, Object> params);

    List<BrandVO> selectListVO(Wrapper<Brand> wrapper);

    BrandVO selectVO(@Param("ew") Wrapper<Brand> wrapper);

    List<BrandView> selectListView(Wrapper<Brand> wrapper);

    BrandView selectView(@Param("ew") Wrapper<Brand> wrapper);

    PageUtils queryPage(Map<String, Object> params,Wrapper<Brand> wrapper);
}
